package com.tmpt.dto;


import com.inspiresoftware.lib.dto.geda.annotations.Dto;
import com.inspiresoftware.lib.dto.geda.annotations.DtoField;

import java.io.Serializable;
import java.sql.Timestamp;


@Dto("com.tmpt.beans.A2Menu1")
public class A2Menu1Dto   implements Serializable {//一级菜单
	private static final long serialVersionUID = 1L;

	@DtoField
	private long id;// 一级菜单权限ID ;
	@DtoField
	private String text;// 一级菜单名称 ;
	@DtoField
	private int sort;// 排序 ;
	@DtoField
	private String iconClass;
	@DtoField
	private int deleteFlag ;// default0,1已删除
	@DtoField(readOnly=true)
	private Timestamp createDate ;
	@DtoField
	private Timestamp modifyDate ;
	@DtoField
	private String createMan ;
	@DtoField
	private String modifyMan ;

	/*
	@OneToMany(mappedBy="a2Menu1",fetch=FetchType.LAZY)
	private List<A2Menu2> a2Menu2List = new ArrayList<A2Menu2>();

	@OneToMany(mappedBy="a2Menu1",fetch=FetchType.LAZY)
	private List<A2Menu1My> a2Menu1My = new ArrayList<A2Menu1My>();
	*/

	public String getIconClass() {
		return iconClass;
	}

	public void setIconClass(String iconClass) {
		this.iconClass = iconClass;
	}

	public long getId() {
		return id;
	}


	public void setId(long id) {
		this.id = id;
	}


	public String getText() {
		return text;
	}


	public void setText(String text) {
		this.text = text;
	}


	public int getSort() {
		return sort;
	}


	public void setSort(int sort) {
		this.sort = sort;
	}


	public int getDeleteFlag() {
		return deleteFlag;
	}


	public void setDeleteFlag(int deleteFlag) {
		this.deleteFlag = deleteFlag;
	}


	public Timestamp getCreateDate() {
		return createDate;
	}


	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}


	public Timestamp getModifyDate() {
		return modifyDate;
	}


	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}


	public String getCreateMan() {
		return createMan;
	}


	public void setCreateMan(String createMan) {
		this.createMan = createMan;
	}


	public String getModifyMan() {
		return modifyMan;
	}


	public void setModifyMan(String modifyMan) {
		this.modifyMan = modifyMan;
	}
	
}
